package com.xh.bussiness.exam.dao;

import com.xh.bussiness.exam.model.PaperQuestionTestDetail;
import com.xh.bussiness.exam.model.PaperTest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 试卷作答主表 Mapper 接口
 * </p>
 *
 * @author daiwei
 * @since 2019-02-23
 */
public interface PaperTestMapper extends BaseMapper<PaperTest> {

    public int rebuildDataById(String id);

    List<PaperQuestionTestDetail> queryStudentTestDetail(@Param("studentId") String studentId,@Param("startDate") String startDate,@Param("endDate") String endDate, @Param("paperType") Integer paperType);

}
